import Vue from 'vue'
import VueI18n from 'vue-i18n'

Vue.use(VueI18n)

const messages = {
  en: {
    welcome: 'Welcome to Taylor Swift Official Site',
    bio: 'Biography'
  },
  zh: {
    welcome: '欢迎来到 Taylor Swift 官方网站',
    bio: '人物简介'
  }
}

export default new VueI18n({
  locale: 'zh',
  fallbackLocale: 'en',
  messages
})